-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Barcode scanning #8658
[Refactor] Barcode scanning #8658
Conversation
- Provide richer response based on available data
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8658 +/- ##
==========================================
- Coverage 84.59% 84.04% -0.55%
==========================================
Files 1194 1195 +1
Lines 54353 55348 +995
Branches 2055 2057 +2
==========================================
+ Hits 45980 46518 +538
- Misses 7866 8320 +454
- Partials 507 510 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- Improve get_supplier_part method - Error handling - Wrap calls to external plugins
…ee into barcode-scanning
This looks pretty useful! It (nearly) covers a use case I've been wanting to suggest: returning StockItems for 'minimized' EIGP 114.2018 barcodes containing |
Refactoring implementation of custom supplier barcode scanning:
Headline Items
Ref: inventree/inventree-app#577
One of the major improvements here is that a supplier barcode plugin will return partial data on a generic "scan" request. Previously it would only return information responding to a supplier part.
However, suppliers will send packing lists with other information (purchase order number is a good example). So now you can scan that code in the app, the supplier barcode will recognize and return any field which is provided, and allows the app to navigate to the purchase order detail page.